package com.uy.system.config;

import cn.dev33.satoken.jwt.StpLogicJwtForMixin;
import cn.dev33.satoken.stp.StpLogic;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @Author LY
 * @create 2024/3/22 18:07
 * @Description config配置
 */
@Configuration
@ComponentScan(value = "com.uy.system")
@MapperScan("com.uy.system.mapper")
public class AppConfig {

    @Bean
    public StpLogic getStpLogicJwt() {
        return new StpLogicJwtForMixin();
    }

}
